
package pratica06.dao;

import java.sql.ResultSet;
import javax.sql.RowSet;
import pratica06.model.Component;

/**
 *
 * @author elias
 */
public interface ICarroDAO {

    public boolean insertCarro(Component carro);

    public boolean deleteCarro(Component carro);

    public Component findCarro(Component carro);

    public Component findCarro(int id);

    public boolean updateCarro(int id, Component carro);

    public ResultSet findAllCarros();

}
